package com.example.gulimallmember.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 会员统计信息
 * 
 * @author zzl
 * @email zzl@gmail.com
 * @date 2025-10-27 08:51:23
 */
@TableName("ums_member_statistics_info")
public class MemberStatisticsInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * 会员id
	 */
	private Long memberId;
	/**
	 * 累计消费金额
	 */
	private BigDecimal consumeAmount;
	/**
	 * 累计优惠金额
	 */
	private BigDecimal couponAmount;
	/**
	 * 订单数量
	 */
	private Integer orderCount;
	/**
	 * 优惠券数量
	 */
	private Integer couponCount;
	/**
	 * 评价数
	 */
	private Integer commentCount;
	/**
	 * 退货数量
	 */
	private Integer returnOrderCount;
	/**
	 * 登录次数
	 */
	private Integer loginCount;
	/**
	 * 关注数量
	 */
	private Integer attendCount;
	/**
	 * 粉丝数量
	 */
	private Integer fansCount;
	/**
	 * 收藏的商品数量
	 */
	private Integer collectProductCount;
	/**
	 * 收藏的专题活动数量
	 */
	private Integer collectSubjectCount;
	/**
	 * 收藏的评论数量
	 */
	private Integer collectCommentCount;
	/**
	 * 邀请的朋友数量
	 */
	private Integer inviteFriendCount;

	public MemberStatisticsInfoEntity() {
	}

	public MemberStatisticsInfoEntity( Long id, Long memberId, BigDecimal consumeAmount, BigDecimal couponAmount, Integer orderCount, Integer couponCount, Integer commentCount, Integer returnOrderCount, Integer loginCount, Integer attendCount, Integer fansCount, Integer collectProductCount, Integer collectSubjectCount, Integer collectCommentCount, Integer inviteFriendCount) {
		this.id = id;
		this.memberId = memberId;
		this.consumeAmount = consumeAmount;
		this.couponAmount = couponAmount;
		this.orderCount = orderCount;
		this.couponCount = couponCount;
		this.commentCount = commentCount;
		this.returnOrderCount = returnOrderCount;
		this.loginCount = loginCount;
		this.attendCount = attendCount;
		this.fansCount = fansCount;
		this.collectProductCount = collectProductCount;
		this.collectSubjectCount = collectSubjectCount;
		this.collectCommentCount = collectCommentCount;
		this.inviteFriendCount = inviteFriendCount;
	}

	/**
	 * 获取
	 * @return id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * 设置
	 * @param id
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * 获取
	 * @return memberId
	 */
	public Long getMemberId() {
		return memberId;
	}

	/**
	 * 设置
	 * @param memberId
	 */
	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	/**
	 * 获取
	 * @return consumeAmount
	 */
	public BigDecimal getConsumeAmount() {
		return consumeAmount;
	}

	/**
	 * 设置
	 * @param consumeAmount
	 */
	public void setConsumeAmount(BigDecimal consumeAmount) {
		this.consumeAmount = consumeAmount;
	}

	/**
	 * 获取
	 * @return couponAmount
	 */
	public BigDecimal getCouponAmount() {
		return couponAmount;
	}

	/**
	 * 设置
	 * @param couponAmount
	 */
	public void setCouponAmount(BigDecimal couponAmount) {
		this.couponAmount = couponAmount;
	}

	/**
	 * 获取
	 * @return orderCount
	 */
	public Integer getOrderCount() {
		return orderCount;
	}

	/**
	 * 设置
	 * @param orderCount
	 */
	public void setOrderCount(Integer orderCount) {
		this.orderCount = orderCount;
	}

	/**
	 * 获取
	 * @return couponCount
	 */
	public Integer getCouponCount() {
		return couponCount;
	}

	/**
	 * 设置
	 * @param couponCount
	 */
	public void setCouponCount(Integer couponCount) {
		this.couponCount = couponCount;
	}

	/**
	 * 获取
	 * @return commentCount
	 */
	public Integer getCommentCount() {
		return commentCount;
	}

	/**
	 * 设置
	 * @param commentCount
	 */
	public void setCommentCount(Integer commentCount) {
		this.commentCount = commentCount;
	}

	/**
	 * 获取
	 * @return returnOrderCount
	 */
	public Integer getReturnOrderCount() {
		return returnOrderCount;
	}

	/**
	 * 设置
	 * @param returnOrderCount
	 */
	public void setReturnOrderCount(Integer returnOrderCount) {
		this.returnOrderCount = returnOrderCount;
	}

	/**
	 * 获取
	 * @return loginCount
	 */
	public Integer getLoginCount() {
		return loginCount;
	}

	/**
	 * 设置
	 * @param loginCount
	 */
	public void setLoginCount(Integer loginCount) {
		this.loginCount = loginCount;
	}

	/**
	 * 获取
	 * @return attendCount
	 */
	public Integer getAttendCount() {
		return attendCount;
	}

	/**
	 * 设置
	 * @param attendCount
	 */
	public void setAttendCount(Integer attendCount) {
		this.attendCount = attendCount;
	}

	/**
	 * 获取
	 * @return fansCount
	 */
	public Integer getFansCount() {
		return fansCount;
	}

	/**
	 * 设置
	 * @param fansCount
	 */
	public void setFansCount(Integer fansCount) {
		this.fansCount = fansCount;
	}

	/**
	 * 获取
	 * @return collectProductCount
	 */
	public Integer getCollectProductCount() {
		return collectProductCount;
	}

	/**
	 * 设置
	 * @param collectProductCount
	 */
	public void setCollectProductCount(Integer collectProductCount) {
		this.collectProductCount = collectProductCount;
	}

	/**
	 * 获取
	 * @return collectSubjectCount
	 */
	public Integer getCollectSubjectCount() {
		return collectSubjectCount;
	}

	/**
	 * 设置
	 * @param collectSubjectCount
	 */
	public void setCollectSubjectCount(Integer collectSubjectCount) {
		this.collectSubjectCount = collectSubjectCount;
	}

	/**
	 * 获取
	 * @return collectCommentCount
	 */
	public Integer getCollectCommentCount() {
		return collectCommentCount;
	}

	/**
	 * 设置
	 * @param collectCommentCount
	 */
	public void setCollectCommentCount(Integer collectCommentCount) {
		this.collectCommentCount = collectCommentCount;
	}

	/**
	 * 获取
	 * @return inviteFriendCount
	 */
	public Integer getInviteFriendCount() {
		return inviteFriendCount;
	}

	/**
	 * 设置
	 * @param inviteFriendCount
	 */
	public void setInviteFriendCount(Integer inviteFriendCount) {
		this.inviteFriendCount = inviteFriendCount;
	}

	public String toString() {
		return "MemberStatisticsInfoEntity{serialVersionUID = " + serialVersionUID + ", id = " + id + ", memberId = " + memberId + ", consumeAmount = " + consumeAmount + ", couponAmount = " + couponAmount + ", orderCount = " + orderCount + ", couponCount = " + couponCount + ", commentCount = " + commentCount + ", returnOrderCount = " + returnOrderCount + ", loginCount = " + loginCount + ", attendCount = " + attendCount + ", fansCount = " + fansCount + ", collectProductCount = " + collectProductCount + ", collectSubjectCount = " + collectSubjectCount + ", collectCommentCount = " + collectCommentCount + ", inviteFriendCount = " + inviteFriendCount + "}";
	}
}
